#pragma once

#include "../notepad.h"
#include "crow.h"

struct LanguageHandler
{
    struct context
    {
        Notepad::Lang lang = Notepad::Lang::en;
    };

    void before_handle(crow::request& req, crow::response& /*res*/, context& ctx);

    void after_handle(crow::request& /*req*/, crow::response& /*res*/, context& /*ctx*/);
};
